home *** CD-ROM | disk | FTP | other *** search
- Path: ts168.eiu.bgu.edu!MJ-PHeee
- From: MJ-PHeee@bgu.edu (Martin Phee)
- Newsgroups: comp.lang.c
- Subject: MS overlay questions
- Date: Tue, 16 Jan 1996 08:17:06 +1000
- Organization: Educational Computing Network
- Message-ID: <MJ-PHeee.26.00076255@bgu.edu>
- NNTP-Posting-Host: ts168.eiu.bgu.edu
- Summary: Converting to MS from Borland
- Keywords: Microsoft
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]
-
- 1/14/96
-
- One of the following situations occurred:
-
- If target is root, the segment was defined as PRIVATE in a SEGMENTS definition in the .DEF file.
- A PRIVATE segment cannot be placed in an overlay. LINK placed segment into the
- root.
- If target is OVERLAY_THUNKS, LINK resolved a far reference to the overlaid
- segment by using the thunk table. LINK cannot determine whether the reference
- is to code or data. A code reference is resolved correctly. A data reference
- is not resolved correctly.
- //////////////////////////////////////////////////////////////////////////////
-
- I'm almost positive it is data...... Borland doesn't mind this I guess. The
- program has a lot of Global data ( which I'm reducing....) what should I look
- for...?? Should I be worried???
-
- Also, MS suggestes overlays around 4k, while getting them nearer to 64k in
- Borland works best.... ?? What's do you think..... What are the best
- options in MS to compile with???
-
- Marty
-
- 1/16/96
-
- Also, do I need to declare all functions as far????
- How about the parameters??
-
- The above program was written using Borland Turbo C++ and runs fine.
-
- Thanks,
-
- Marty
-
-
-
-